package com.platform.wechat.mapper;

import com.platform.wechat.entity.Patient;

import java.util.List;

public interface PatientMapper {

    /**
    * @Description: 根据身份证号查询就诊人信息
    * @Param: [cardId]
    * @return: com.platform.wechat.entity.Patient
    * @Author: YP
    * @Date: 2021/8/2
    * @Time: 11:18
    */
    Patient selectPatientByCardId(String cardId);

    int deleteByPrimaryKey(Integer patientId);

    int insert(Patient record);

    int insertSelective(Patient record);

    Patient selectByPrimaryKey(Integer patientId);

    Patient selectByPrimaryKeys(String patientName);

    List<Patient> selectPrimary(Integer platformaccountId);

    int selectperson (Integer patientId);

    int updateByPrimaryKeySelective(Patient record);

    int updateByPrimaryKey(Patient record);
}